package db

// Dialect is a type represent the db driver.
type Dialect string

const (
	// MySQL is for use mysql driver.
	MySQL Dialect = "mysql"

	// SQLITE3 is for use sqlite driver.
	SQLITE3 Dialect = "sqlite3"

	// Postgres is for use postgres driver.
	Postgres Dialect = "postgres"
)

type Config struct {
	Dialect    Dialect
	Username   string
	Password   string
	Address    string
	DBName     string
	SearchPath string
	Charset    string
	Secondary  []string
}
